package com.zy.cat.entity.dev.resp;

import java.util.List;

import javax.persistence.Column;

import com.fasterxml.jackson.annotation.JsonIgnore;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @info 9趣猫提现记录实体类
 * @author Link
 * @date 2019-07-04 08:58
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("9趣猫提现记录实体类")
public class CatDevRemitRecordResp {

	@ApiModelProperty(value = "开发者ID", example = "8510241024543843")
	private String pid;
	
	@ApiModelProperty(value = "取款类型0.微信、1.支付宝", example = "0")
	private int qtype;
	
	@ApiModelProperty(value = "提现金额（分）", example = "100")
	private long dmoney;

	@ApiModelProperty(value = "提现状态，（-1：未通过、0：审核中 、1.已到账）", example = "0")
	private int dstatus;
	
	@ApiModelProperty(value = "取款类型（0.正常提款、1.正常邀请提现、2.互拆邀请提现、3.新用户体验提现、4.订单返利提现、10.全部）", example = "0")
	@JsonIgnore
	private int rtype;
	
	@ApiModelProperty(value = "取款类型（0.正常提款、1.正常邀请提现、2.互拆邀请提现、3.新用户体验提现、4.订单返利提现、10.全部）", example = "0")
	@JsonIgnore
	private int[] rtypeArray;
	
	@ApiModelProperty(value = "订单号", example = "21551212021266745750")
	private String oid;
	
	@ApiModelProperty(value = "创建时间", example = "2019-02-22 12:56:56")
	private String ctime;

	@ApiModelProperty(value = "备注", example = "备注")
	private String info = "-";

	public CatDevRemitRecordResp(String pid) {
		super();
		this.pid = pid;
	}
	
	
	public CatDevRemitRecordResp(String pid, int dstatus) {
		super();
		this.pid = pid;
		this.dstatus = dstatus;
	}


	public CatDevRemitRecordResp(String pid, long dmoney) {
		super();
		this.pid = pid;
		this.dmoney = dmoney;
	}


	public CatDevRemitRecordResp(String pid, long dmoney, int rtype) {
		super();
		this.pid = pid;
		this.dmoney = dmoney;
		this.rtype = rtype;
	}
	
	public CatDevRemitRecordResp(String pid, int... rtypes) {
		super();
		this.pid = pid;
		this.rtypeArray = rtypes;
	}
}
